package com.sky.mapper;

import com.sky.dto.GoodsSalesDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.tomcat.jni.Local;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface ReportMapper {



    List<GoodsSalesDTO> selectByTime(LocalDateTime begin, LocalDateTime end);

    Integer countUsers(LocalDateTime beginTime, LocalDateTime endTime);

    Double countAmount(LocalDateTime beginTime, LocalDateTime endTime);

    Integer countTodayOrders(LocalDateTime beginTime, LocalDateTime endTime);

    Integer CountvalidOrder(LocalDateTime beginTime, LocalDateTime endTime,List<Integer> statusList);
}
